package com.wzcl.app.model.vo;


import com.wzcl.app.dao.model.KnowledgePoint;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.beans.BeanUtils;

@Data
public class KnowledgePointVo extends BaseVo {

    @ApiModelProperty(name = "年级id")
    private Integer gradeId;

    @ApiModelProperty(name = "年级")
    private String gradeName;

    @ApiModelProperty(name = "学科Id")
    private Integer subjectId;

    @ApiModelProperty(name = "学科")
    private String subjectName;

    @ApiModelProperty(name = "章节")
    private  String  chapter;

    @ApiModelProperty(name = "知识点")
    private  String  point;


    private KnowledgePointVo(){

    }

    public static KnowledgePointVo create(KnowledgePoint knowledgePoint){
        KnowledgePointVo knowledgePointVo = new KnowledgePointVo();
        BeanUtils.copyProperties(knowledgePoint,knowledgePointVo);
        return knowledgePointVo;
    }

    @Override
    public void translationValueStr() {

    }

    @Override
    public void processResources() {

    }
}
